package com.eve.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import com.ribbon.MySelfRule;

@SpringBootApplication
@EnableEurekaClient
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE", configuration = MySelfRule.class)   // 自定义Ribbon规则
/**
 * Ribbon+restTemplate
 * @author HXL
 *
 */
public class Consumer9001Application {

	public static void main(String[] args) {
		SpringApplication.run(Consumer9001Application.class, args);
	}
}
